package it.avantsoft.ls.gl.command;

import it.avantsoft.ls.gl.GroupChildHandler;

import java.util.Collection;

public class NewGrandsonABCommand extends ABActivityCommand {
    public NewGrandsonABCommand(Collection<GroupChildHandler> groupChildHandler, String id) {
        super(groupChildHandler, id);
    }

    public void execute() {

        for (GroupChildHandler gch : childrenHandlers) {
            gch.signalNiece(id);
        }
    }

    public String toString() {
        return "NewGrandsonABCommand{" +
                "id =" + id + '\'' +
                "}";
    }
}
